﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:views="clr-namespace:Shammateh.Win.UI.Views"
                    xmlns:viewModel="clr-namespace:Shammateh.Win.UI.ViewModels"
                    xmlns:dfViewModel="clr-namespace:Xoqal.Presentation.ViewModels;assembly=Xoqal.Presentation"
                    xmlns:entity="clr-namespace:Shammateh.Entities;assembly=Shammateh.Entities">

    <!--View Models-->
    <DataTemplate DataType="{x:Type viewModel:MainViewModel}">
        <views:MainView />
    </DataTemplate>
    
    <DataTemplate DataType="{x:Type viewModel:ActivityTypeViewModel}">
        <views:ActivityTypeView />
    </DataTemplate>
    
    <DataTemplate DataType="{x:Type viewModel:AudienceViewModel}">
        <views:AudienceView />
    </DataTemplate>
    
    <DataTemplate DataType="{x:Type viewModel:ProjectViewModel}">
        <views:ProjectView />
    </DataTemplate>

    <DataTemplate DataType="{x:Type viewModel:RateViewModel}">
        <views:RateView />
    </DataTemplate>
    
    <DataTemplate DataType="{x:Type viewModel:ResourceViewModel}">
        <views:ResourceView />
    </DataTemplate>
    
    <DataTemplate DataType="{x:Type viewModel:WorkViewModel}">
        <views:WorkView />
    </DataTemplate>
    
    <!--Parts-->

    <DataTemplate DataType="{x:Type dfViewModel:ListItemViewModel}">
        <TextBlock Text="{Binding Text}" />
    </DataTemplate>
    
</ResourceDictionary>